package com.how2java.tmall.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.how2java.tmall.pojo.Productimage;

public interface ProductimageMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Productimage record);

    int insertSelective(Productimage record);

    Productimage selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Productimage record);

    int updateByPrimaryKey(Productimage record);

	List<Productimage> getProductimageByPidAndType(@Param("pid") int pid,@Param("type") String type);
}